package com.firemoss.atonement.example.contactmanager.control.event
{
	import flash.events.Event;
	
	import mx.core.UIComponent;
	
	public class EditorEvent extends Event
	{
		public static const OPEN_EDITOR : String = "openEditor"
		public static const CLOSE_EDITOR : String = "closeEditor"
		public static const FOCUS_EDITOR : String = "focusEditor"
			
		public var view : UIComponent
		public var focusCriteria : Object
		
		public function EditorEvent(type:String, view : UIComponent = null, focusCriteria : Object = null, bubbles:Boolean=true, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			this.focusCriteria = focusCriteria
			this.view = view
		}
	}
}